file_object=open("my_info.txt", "wt", encoding="utf-8")
name=input("请输入你的名字：")
age=input("请输入你的年龄：")
high=input("请输入你的身高：")
file_object.write("姓名："+str(name)+" "+"年龄:"+str(age)+" "+"身高:"+str(high)+"\n")
file_object.close()